﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Content : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //HttpContext curContext = HttpContext.Current;
        //Literal1.Text += curContext.Request.RawUrl + "<br>";
        Literal1.Text += Context.Request.RawUrl + "<br>";
        Literal1.Text += Context.Response.Charset + "<br>";
        Literal1.Text += Context.Server.MachineName + "<br>";
        Literal1.Text += Context.Request.QueryString["page"] + "<br>";
    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        Literal1.Text += Context.Request.Form["Button1"] + "<br>";
    }
}